<!DOCTYPE html>
<html lang="zh-cn">
    <head>
        <meta charset="UTF-8"/>
        <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0" />
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
        <title>模糊效果</title>
        <style>
            .blur {
                filter: progid:DXImageTransform.Microsoft.Blur(PixelRadius=10, MakeShadow=false); /* IE6~IE9 */
            }
            :root .blur {
                display: none; /* IE9+, Firefox, Chrome, Opera - hidden */
                filter: none; /* no IE9 */
            }
        </style>
    </head>
    <body>
        <h1>IE CSS模糊滤镜+canvas高斯模糊实现图片的模糊效果实例页面</h1>
        <p>来源:<a href="http://www.zhangxinxu.com/wordpress/2013/11/css-svg-image-blur/"></a>http://www.zhangxinxu.com/wordpress/2013/11/css-svg-image-blur/</p>
        <img src="http://www.zhangxinxu.com/study/201311/mm1.jpg" />
        <img src="http://www.zhangxinxu.com/study/201311/mm1.jpg" class="blur" id="blur"/>
        <canvas id="canvas" width="256" height="191"></canvas>
        <script src="js/StackBlur.js"></script>
        <script>
        stackBlurImage( "blur", "canvas", 20, false );
        </script>
    </body>
</html>